<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>注册</title>
    <link rel="stylesheet" href="css/nav.css">
    <link rel="stylesheet" href="css/account.css">
    <script src="js/register.js"></script>
</head>
<body>
    <nav>
        <div>
            <a href="/">万物商城</a>
        </div>
    </nav>
    <div class="frame">
        <div>
            <form action="register" method="post" onsubmit="return check()">
                <h1>注册用户</h1>
                用户名&nbsp;<input type="text" placeholder="请输入用户名" name="username">
                密码&nbsp;<input type="password" placeholder="请输入密码" name="password">
                验证码 <span><input type="text" placeholder="请输入验证码" name="capture"><img src="/check"></span>
                <br>
                <input type="submit" value="注册">
                <input type="button" value="登录已有账户" onclick="goToLogin()">
            </form>
        </div>
    </div>
</body>
</html>